import { get, mockGet } from './request'

export class SmartStaffApi {
  // 智能员工类型分布
  static getRobotTypeGraph(params) {
    return get('/luoshu-jcp/screen/intelligentEmployeeClassify', { params })
  }

  // 智能员工任务执行情况
  static getRobotTaskRunStatus(params) {
    return get('/luoshu-jcp/screen/intelligentEmployeeOperation', { params })
  }

  // 智能员工状态
  static getRobotStatus(params) {
    return get('/luoshu-jcp/screen/intelligentEmployeeStatus', { params })
  }

  // 告警统计
  static getAlarmStats(params) {
    return get('/luoshu-jcp/screen/robotAlarmStatistics', { params })
  }

  static mockgetAlarmStats(params) {
    return mockGet('/luoshu-jcp/screen/robotAlarmStatistics', { params })
  }

  // 告警记录列表
  static getAlarmRecordList(params) {
    return get('/luoshu-jcp/screen/robotAlarmList', { params })
  }
}
